<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%-- <%@ taglib prefix="s" uri="/struts-tags" %> --%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ page import="com.kh.pajx.sop.util.common.DicUtil"%>
<script src="${pageContext.request.contextPath}/dwz/chart/raphael.js"
	type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/dwz/chart/g.raphael.js"
	type="text/javascript"></script>
<script src="${pageContext.request.contextPath}/dwz/chart/g.bar.js"
	type="text/javascript"></script>
<!-- <style>
.myunit {
	width: 4px;
	height: 24px;
	float: left;
}

.lu {
	width: 48px;
	height: 24px;
	float: left;
	text-align: center;
	background-color: #999999;
	
}

.redDiv {
	background-color: #F88A73;
}

.greenDiv {
	background-color: #B5DB67;
}

.grayDiv {
	background-color: #D0D0D0;
}

.td_code {
	width: 100px;
	line-height: 24px;
	text-align: center;
	background-color: #999999;
	font-size: 12px;
	float: left;
	border-bottom: 1px solid white;
}

</style> -->
<script type="text/javascript">
function show_tea_record_search(){
	var $sclId = $("#show_tea_record", navTab.getCurrentPanel());
	if(check_tea_school_id()){ 
		$("#show_tea_record", navTab.getCurrentPanel()).click();
	 } 
}
function check_tea_school_id(){
	var sclId = document.getElementById('show_tea_record_sclId').value;
	if(sclId.length==0){
		alertMsg.warn("请选择学校！");
		return false;
	}
	return true;
}
	
</script>
<div class="pageHeader">
	<form onsubmit="return divSearch(this, 'show_tea_record_content');"
		action="sop_listRecord.action?status=2" method="post">
		<div class="searchBar">
		<!--用于回显  -->
		<!-- <s:debug>t</s:debug> -->
		<%-- <input type="hidden" name="model.sclId"  value="${reSclName}"/> --%>
		<div class="searchBar nowrap">
							<p>
								<label>学校名称：</label> <input class="required"
									id="show_tea_record_sclId" type="hidden" name="model.sclId">
								<a title="点击选择学校" href="school_lookup.action?numPerPage=10"
									lookupGroup="model"
									callback="scl_lookup_callback('show_tea_record_sclId','show_record_graId','show_record_clsId')">
									<input id="show_record_sclName" type="text" class="required"
									name="model.sclName" readonly="true">
								</a>
							</p>
						<p>
				<label>姓名：</label><input name="record_stuName" type="text"/></p>
				<p><label>卡号：</label><input name="record_stuNo" type="text"/></p>
				<p><label>设备编号:</label> 
			    <input type="text" name="record_equNo">
			    </p>
				<p style="width: 260px;">
			<label>刷卡日期：</label> 
			<input type="text" style="width: 70px;" readonly="readonly" class="date" name="record_startDate" value="${startDate }"
			dateFmt="yyyy-MM-dd" minDate="2010-01-01" maxDate="${currentDate }"> 
			<span class="limit">-</span> 
			<input type="text" style="width: 70px;" readonly="readonly" class="date"  name="record_endDate" value="${endDate }"
			dateFmt="yyyy-MM-dd" minDate="2010-01-01" maxDate="${currentDate }">
		</p>
				<ul>
					<li style="display: none;">
					<div class="buttonActive">
					<div class="buttonContent">
						<button id="show_tea_record"  type="submit" >检索</button>
					</div>
					</div>
					</li>
					<li><a class="button" href="javascript:show_tea_record_search()" ><span>检索</span></a></li>
				</ul>
		</div>

		</div>
	</form>
</div>
<div  id="show_tea_record_content">
</div>
